<?php echo $this->doctype()."\n"; ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
   <?php echo $this->headMeta(); ?>
   <?php echo $this->headTitle(); ?>
   <?php echo $this->headLink(); ?>
</head>

<body>
 <div id="container">
  <div id="header">
   <div class="banner">
    <table class="fullW fullH">
     <tr>
      <td class="banner-rootcell">
       <table class="fullW fullH">
        <tr>
         <td rowspan="2" class="banner-logocell" onclick="window.location.href = 'http://www.profitmania.pl';">
         </td>
         <td rowspan="1" class="banner-menucell-top">
         </td>         
         <td rowspan="2" class="banner-graficcell">
         </td>         
        </tr>
        <tr>
         <td rowspan="1" class="banner-menucell-bottom">
		    <table class="fullH">
		     <tr>
		      <td class=" menu-item-first">
		      </td>
		      <td id="homeItem" class="menu-item">
		       <a class="menu" href="<?php echo $this->baseUrl.'/'; ?>" title="Strona Główna">ProfitMania</a>
		      </td>
		      <td id="promoItem" class="menu-item">
		       <a class="menu" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->promo; ?>" title="Oferty">Promocje</a>
		      </td>
		      <td id="couponsItem" class="menu-item">
		       <a class="menu" href="<?php echo $this->baseUrl.'/Coupons'; ?>" title="Kupony">Kupony</a>
		      </td>     
		      <td id="forumItem" class="menu-item">
		       <a class="menu" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->forum; ?>" title="Forum">Forum</a>
		      </td>
		     </tr>
		    </table>
         </td>         
        </tr>        
       </table>
      </td>
     </tr>
    </table>
   </div>
   <div class="submenu">
    <div class="homeSubMenu"></div>
    <div class="promoSubMenu">
	 <table class="fullW fullH">
	  <tr>
	   <td>&nbsp;</td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->promo1; ?>" title="Gorące Promocje">
		 Gorące Promocje
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->promo2; ?>" title="Bezpłatne">
		 Darmowe
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->promo3; ?>" title="Kupony">	
		 Kupony
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->promo4; ?>" title="Konkursy">
		 Konkursy
		</a>
	   </td>
	   <td>&nbsp;</td>
	  </tr>
	 </table>    
    </div>
    <div class="couponsSubMenu">
	 <table class="fullW fullH">
	  <tr>
	   <td>&nbsp;</td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo $this->baseUrl.'/Coupons/index/category/0'; ?>" title="Zobacz wszystkie kupony">
		 Wszystkie
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo $this->baseUrl.'/Coupons/index/category/1'; ?>" title="Zobacz najnowsze kupony">
		 Dzisiejsze
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo $this->baseUrl.'/Coupons/index/category/2'; ?>" title="Zobacz wygasające kupony">	
		 Wygasające
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo $this->baseUrl.'/Coupons/index/category/3'; ?>" title="Zobacz kupony od A do C">
		 # & A-C
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo $this->baseUrl.'/Coupons/index/category/4'; ?>" title="Zobacz kupony od D do G">
		 D-G
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo $this->baseUrl.'/Coupons/index/category/5'; ?>" title="Zobacz kupony od H do Ł">
		 H-Ł
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo $this->baseUrl.'/Coupons/index/category/6'; ?>" title="Zobacz kupony od M do R">
		 M-R
		</a>
	   </td>
	   <td class="submenuItem">
		<img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
		<a class="submenu-link" href="<?php echo $this->baseUrl.'/Coupons/index/category/7'; ?>" title="Zobacz kupony od S do Ź">
		 S-Ź
		</a>
	   </td>
	   <td>&nbsp;</td>
	  </tr>
	 </table>
    </div>
    <div class="forumSubMenu">
	 <table class="fullW fullH">
	  <tr>
	   <td>&nbsp;</td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->forum5; ?>" title="Rozmowy o promocjach">
		 Rozmowy o Promocjach
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->forum6; ?>" title="Opinie o produktach">
		 Opinie o Produktach
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->forum1; ?>" title="Pomoc Techniczna">
		 Pomoc Techniczna
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->forum8; ?>" title="Gry">
		 Gry
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->forum9; ?>" title="Podróże">
		 Podróże
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->forum10; ?>" title="Wydarzenia i komentarze">
		 Wydarzenia i Komentarze
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->forum2; ?>" title="Dyskusje">
		 Dyskusje
		</a>
	   </td>
	   <td class="submenuItem">
	    <img src="<?php echo $this->baseUrl.'/public/images/arrow_green.jpg'; ?>" alt="" width="11px" height="7px"/>
	    <a class="submenu-link" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->forum3; ?>" title="Samouczek Forum">	
		 Samouczek Forum
		</a>
	   </td>	   
	   <td>&nbsp;</td>
	  </tr>
	 </table>
	</div>
   </div>
   <div class="searchMenu">
    <table class="fullW fullH">
     <tr>
      <td class="banner-search-frame-light">&nbsp;
      </td>
	  <td class="banner-search-content-cell">
	   <table class="fullW fullH">
	    <tr>
	     <td class="banner-search login-button">
	       <a href="/forum/member.php?action=login" title="Logowanie do Forum">
	        <img src="<?php echo $this->baseUrl.'/public/images/login_button.png'?>" alt="Logowanie do Forum" />
	       </a>
	     </td>
	     <td class="banner-search-spacer">&nbsp;
	     </td>
	     <td class="banner-search">
	      <div class="searchItem">
	       <form name="overallForm" action="javascript: search(0, '<?php echo $this->baseUrl.'/Search/query/'; ?>');" method="get">
	        <table class="fullH">
	         <tr>
	          <td class="banner-search-text-cell">
	           Szukaj:
	          </td>
	          <td class="banner-search-input-cell">
	           <?php echo $this->formText('key', 'w całym serwisie...', array('class' => 'search-overall-form-text prefont', 'tabindex' => '1')) ?>
	          </td>
	          <td class="banner-search-btn-cell">
	           <?php echo $this->formImage('osubmit', 'Szukaj', array('tabindex' => '2', 'src'=>$this->baseUrl.'/public/images/search-submit-button.gif', 'width'=>'31', 'height'=>'24')); ?>
	          </td>
	         </tr>
	        </table>
	       </form>
	      </div>      
	     </td>
	    </tr>
	   </table>
	  </td>
      <td class="banner-search-frame-light">&nbsp;
      </td>
     </tr>
    </table>
   </div>
  </div>
  <div id="content">
   <table class="fullW fullH">
    <tr>
     <td class="frame-left">&nbsp;
     </td>
     <td class="content-cell">
	  <div class="message">
	   <?php echo $this->messageInfo($this->baseUrl, $this->message); ?> 
	  </div>   
	<!--  CONTENT START -->	  
	   <?php echo $this->layout()->content; ?>
	<!--  CONTENT STOP -->     
     </td>
     <td class="frame-right">&nbsp;
     </td>
    </tr>
   </table>
  </div>
  <div id="copyright">
   <table class="fullW">
    <tr>
     <td class="copyright-cell-left">&nbsp;
     </td>
     <td class="copyright-content-cell">
      <table class="fullW fullH">
       <tr>
        <td class="copyright-content-cell-left">
         <img src="<?php echo $this->baseUrl.'/public/images/profitmania-graphic.png'; ?>" alt="ProfitMmania.pl - Najlepsze promocje, kupony rabatowe"/>
        </td>
        <td class="copyright-content-cell-right">
         Copyright by ProfitMania.pl. Wszelkie prawa zastrzeżone.
        </td>
       </tr>
      </table>
     </td>
     <td class="copyright-cell-right">
      &nbsp;
     </td>
    </tr>
   </table>
  </div>  
  <div id="footer">
   <table class="fullW">
    <tr>
     <td class="footer-top-left">
     &nbsp;
     </td>
     <td class="footer-top-center">
      <table>
       <tr>
        <td class="footer-menu-item">
		 <a class="footer-menu" href="<?php echo $this->baseUrl.'/'; ?>" title="Strona Główna">
		  ProfitMania
		 </a>        
		</td>
        <td class="footer-menu-item">
		 <a class="footer-menu" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->promo; ?>" title="Oferty">
		  Promocje
		 </a>        
		</td>
        <td class="footer-menu-item">
		 <a class="footer-menu" href="<?php echo $this->baseUrl.'/Coupons'; ?>" title="Kupony">
		  Kupony
		 </a>        
		</td>
        <td class="footer-menu-item">
		 <a class="footer-menu" href="<?php echo '/forum/forumdisplay.php?fid='.$this->config->forum->forum; ?>" title="Forum">
		  Forum
		 </a>        
		</td>                        
       </tr>
      </table>
     </td>
     <td class="footer-top-right">
      &nbsp;
     </td>
    </tr>
    <tr>
     <td class="footer-bottom-left">
      &nbsp;
     </td>
     <td class="footer-bottom-center">

      <table class="fullW fullH">
       <tr>
        <td class="footer-element-bottom">
        
         <table class="fullW fullH">
          <tr>
           <td>
	         <table class="fullW">
	          <tr>
	           <td class="footer-link">
	            <a class="footer-link" href="/forum/showthread.php?tid=28" title="Regulamin serwisu ProfitMania">Regulamin</a>
	            &nbsp;
	            <img src="<?php echo $this->baseUrl.'/public/images/arrow_orange.gif'; ?>" alt="Regulamin" width="11px" height="7px"/>
	           </td>           
	          </tr>
	          <tr>
	           <td class="footer-text">
	            Regulamin serwisu Profitmania.pl
	           </td>           
	          </tr>
	         </table>           
           </td>
          </tr>
          <tr>
           <td>
	         <table class="fullW">
	          <tr>
	           <td class="footer-link">
	            <a class="footer-link" href="<?php echo $this->baseUrl.'/Coupons'; ?>" title="Reklama w ProfitMania">Reklama</a>
	            &nbsp;
	            <img src="<?php echo $this->baseUrl.'/public/images/arrow_orange.gif'; ?>" alt="Reklama w ProfitMania" width="11px" height="7px"/>
	           </td>           
	          </tr>
	          <tr>
	           <td class="footer-text">
	            ProfitMania.pl oferuje skuteczny system reklamy, docierając do tysięcy konsumentów dóbr i usług. W celu otrzymania aktualnej oferty, prosimy o przesłanie danych kontaktowych wraz z informacją o nazwie firmy, stronie internetowej oraz zwrotnym adresie emailowym na adres: <a class="footer-link" href="mailto: kontakt@profitmania.pl" title="Kontakt z ProfitMania">kontakt@profitmania.pl</a>.
	           </td>           
	          </tr>
	         </table>             
           </td>
          </tr>
          <tr>
           <td>
	         <table class="fullW">
	          <tr>
	           <td class="footer-link">
	            <a class="footer-link" href="mailto: kontakt@profitmania.pl" title="Kontakt z ProfitMania">Kontakt</a>
	            &nbsp;
	            <img src="<?php echo $this->baseUrl.'/public/images/arrow_orange.gif'; ?>" alt="Kontakt z ProfitMania" width="11px" height="7px"/>
	           </td>           
	          </tr>
	          <tr>
	           <td class="footer-text">
	            Jeżeli masz jakieś pytania, sugestie, bądź chcesz z nami nawiązać współpracę, napisz do nas na adres: <a class="footer-link" href="mailto: kontakt@profitmania.pl" title="Kontakt z ProfitMania">kontakt@profitmania.pl</a>.
	           </td>           
	          </tr>
	         </table>            
           </td>
          </tr>
         </table>
         
        </td>
        <td class="footer-element-bottom">
        
         <table class="fullW fullH">
          <tr>
           <td>
	         <table class="fullW">
	          <tr>
	           <td class="footer-link">
	            <a class="footer-link" href="" title="Witamy w ProfitMania">Witamy w ProfitMania.pl</a>
	            &nbsp;
	            <img src="<?php echo $this->baseUrl.'/public/images/arrow_orange.gif'; ?>" alt="Witamy w ProfitMania" width="11px" height="7px"/>
	           </td>           
	          </tr>
	          <tr>
	           <td class="footer-text">
	            Oszczędzaj pieniądze znajdując u nas najniższe ceny, świetne oferty oraz fantastyczne kupony i rabaty. Podziel się z nami informacjami o wyprzedażach, próbkach, gratisach, atrakcyjnych obniżkachi wszelkich promocjach. 
				Rejestracja i korzystanie z serwisu jest całkowicie darmowe, a zyskać możesz bardzo wiele. Serdecznie zapraszamy do wpisów!
	           </td>           
	          </tr>
	         </table>           
           </td>
          </tr>
          <tr>
           <td>
	         <table class="fullW">
	          <tr>
	           <td class="footer-link">
	            <a class="footer-link" href="http://www.profitmania.pl/forum/showthread.php?tid=29" title="Samouczek ProfitMania">Samouczek</a>
	            &nbsp;
	            <img src="<?php echo $this->baseUrl.'/public/images/arrow_orange.gif'; ?>" alt="Samouczek ProfitMania" width="11px" height="7px"/>
	           </td>           
	          </tr>
	          <tr>
	           <td class="footer-text">
	            Wyjaśnienia i pomoc do korzystania z serwisu dla nowych użytkowników.
	           </td>           
	          </tr>
	         </table>            
           </td>
          </tr>
          <tr>
           <td class="footer-element-bottom sosweb-footer">
           Created by <a class="sosweb-link" href="http://www.sosweb.pl" title="Strony Internetowe Bydgoszcz"><b>sosweb.pl</b></a> 2010
           </td>
          </tr>
         </table>
        
        </td>
       </tr>
      </table>

     </td>
     <td class="footer-bottom-right">
      &nbsp;
     </td>
    </tr>
   </table>
  </div>  
 </div>
 <?php echo $this->inlineScript(); ?>
</body>

</html>